package cn.hnu.qq;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;

import cn.hnu.qq.client.panel.LogonPanel;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        JFrame jj = new JFrame();
        JPanel p = (JPanel)jj.getContentPane();
        p.setLayout(new BorderLayout());
        JPanel pp = new LogonPanel();
        p.add(pp,BorderLayout.CENTER);
       // jj.setResizable(false);
        jj.setSize(pp.getSize());
        jj.setResizable(false);
        jj.setVisible(true);
        
    }
}
